package Test;

class T1{
    public void e(){}
    public static void r(){

    }
}
public class Test2 extends T1{
    public static void main(String[] args) {
        T1 t1=new T1();
        Test2 t2=new Test2();
        System.out.println(t1 instanceof T1);
        System.out.println(t1 instanceof Test2);
        System.out.println(t2 instanceof Test2);
        System.out.println(t2 instanceof T1);
    }
    public void W(){
        e();
    }
    public void Q(){
        W();
        m2();
    }
    public static void m2(){
        m();
        r();
    }
    public static void m(){
        new Test2().W();
        new T1().e();
    }
}
